<%--
  Created by IntelliJ IDEA.
  User: taohj
  Date: 2014/6/29
  Time: 18:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>


<c:set var="menu" value="none" scope="request"></c:set>


<!Doctype html>
<html>
<head>
    <title>政府数据开放平台</title>
    <jsp:include page="../../commons/include.jsp"/>


    <style>
        * {

            font-family: '宋体';
        }

        #main {
            -webkit-box-shadow: 0 4px 61px rgba(0, 0, 0, 0.1);
            background: #FFF;
            width: 1000px;
            font-family: '宋体';
            overflow: auto;
            min-height: 600px;
            margin-top: 50px;

        }

        .orgList_ul .orgList_li .orgList_img img {
            width: 180px;
            height: 120px;
        }

        input {
            width: 250px;
        }


    </style>
</head>
<body>

<jsp:include page="../../commons/top.jsp"/>


<div class="main">


    <jsp:include page="../../commons/dashboardMenu.jsp"/>


    <div class="left">
        <ul>
            <li href="/front/my/dataset/list" class="active">数据集管理</li>
            <li href="/front/my/dataset/data/list">数据管理</li>
        </ul>
    </div>

    <div class="right">


        <div style="padding-top: 60px;padding-left: 80px;"><span style="font-size: 20px;font-weight: bold;">更新数据集</span></div>

        <div style="float: none; border: 0px solid; margin:20px auto 0 auto;">

            <form action="/front/my/dataset/modify" method="post"><input type="hidden" name="orgID"
                                                                         value="${requestScope.orgID}">

                <input name="id" value="${requestScope.dataset.id}" type="hidden">


                <table style="line-height: 50px" class="updateTable">
                    <tr>
                        <td width="60">名称:</td>
                        <td><input type="text" name="name" class="form-control" style="width: 250px"
                                   value="${requestScope.dataset.name}"></td>
                    </tr>

                    <tr>
                        <td>主题</td>
                        <td>
                            <select name="theme" class="form-control" style="width: 250px">
                                <c:forEach items="${requestScope.themes}" var="theme">
                                    <option value="${theme.id}"
                                            <c:if test="${theme.id==dataset.theme.id}">selected="selected" </c:if> >${theme.name}</option>
                                </c:forEach>
                            </select>
                        </td>
                    </tr>


                    <tr>
                        <td>简 介:</td>
                        <td>
                            <textarea name="description" rows="8"
                                      class="form-control"
                                      style="width: 250px">${requestScope.dataset.description}</textarea></td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <input type="submit" class="btn btn-primary " style="" value="更&nbsp;新"></input>
                        </td>
                    </tr>
                </table>


            </form>
        </div>


    </div>
    <jsp:include page="../../commons/buttom.jsp"/>
</body>
</html>
